package com.iotp.service.expert;

import com.iotp.entity.expert.Expert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ExpertService {

    public Long add(Expert expert);

    public void update(Expert expert);

    public Expert queryById(Long id);

    public List<Expert> queryList(Expert expert);

    public List<Expert> queryLimit();

    public void delete(Long id);

    public Expert queryByUserId(String userId);


}
